<?php

/**
 * 错误管理
 * @author administrator
 *
 */
class errorManage extends CControllerManageBase {

    public function show(){
    	$pageIndex = $this->getRequestData("page","GET",1);
    	$pageSize = 20;
    	$model = new errorModel();
    	$c = 0;
		$list = $model->selectPage($pageIndex,$pageSize,"error_msg,create_time","","error_id desc","",$c);

		$pageStr = CPage::showPage($pageIndex,$pageSize,$c);

		$this->setMenu("错误日志管理");
		$this->render("error/list",array("list"=>$list,"page"=>$pageStr));
    }

}

?>
